package com.ruoyi.module.courseDetail.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程详情对象 course_detail
 * 
 * @author yqq
 * @date 2024-05-06
 */
public class CourseDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long detailId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long dCourseId;

    /** 课程标题 */
    @Excel(name = "课程标题")
    private String detailCourseTitle;

    /** 课程封面 */
    @Excel(name = "课程封面")
    private String detailCourseImage;

    /** 课程视频 */
    @Excel(name = "课程视频")
    private String detailCourseVideo;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String detailCourseDetail;

    /** 观看数量 */
    @Excel(name = "观看数量")
    private Long watchNum;

    /** 是否免费 */
    @Excel(name = "是否免费")
    private String detailChargeOrNot;

    /** 收费金额 */
    @Excel(name = "收费金额")
    private BigDecimal detailChargeAmount;

    /** 删除标志 */
    private String delFlag;

    public void setDetailId(Long detailId)
    {
        this.detailId = detailId;
    }

    public Long getDetailId()
    {
        return detailId;
    }
    public void setdCourseId(Long dCourseId)
    {
        this.dCourseId = dCourseId;
    }

    public Long getdCourseId()
    {
        return dCourseId;
    }
    public void setDetailCourseTitle(String detailCourseTitle)
    {
        this.detailCourseTitle = detailCourseTitle;
    }

    public String getDetailCourseTitle()
    {
        return detailCourseTitle;
    }
    public void setDetailCourseImage(String detailCourseImage)
    {
        this.detailCourseImage = detailCourseImage;
    }

    public String getDetailCourseImage()
    {
        return detailCourseImage;
    }
    public void setDetailCourseVideo(String detailCourseVideo)
    {
        this.detailCourseVideo = detailCourseVideo;
    }

    public String getDetailCourseVideo()
    {
        return detailCourseVideo;
    }
    public void setDetailCourseDetail(String detailCourseDetail)
    {
        this.detailCourseDetail = detailCourseDetail;
    }

    public String getDetailCourseDetail()
    {
        return detailCourseDetail;
    }
    public void setWatchNum(Long watchNum)
    {
        this.watchNum = watchNum;
    }

    public Long getWatchNum()
    {
        return watchNum;
    }
    public void setDetailChargeOrNot(String detailChargeOrNot)
    {
        this.detailChargeOrNot = detailChargeOrNot;
    }

    public String getDetailChargeOrNot()
    {
        return detailChargeOrNot;
    }
    public void setDetailChargeAmount(BigDecimal detailChargeAmount)
    {
        this.detailChargeAmount = detailChargeAmount;
    }

    public BigDecimal getDetailChargeAmount()
    {
        return detailChargeAmount;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("detailId", getDetailId())
                .append("dCourseId", getdCourseId())
                .append("detailCourseTitle", getDetailCourseTitle())
                .append("detailCourseImage", getDetailCourseImage())
                .append("detailCourseVideo", getDetailCourseVideo())
                .append("detailCourseDetail", getDetailCourseDetail())
                .append("watchNum", getWatchNum())
                .append("detailChargeOrNot", getDetailChargeOrNot())
                .append("detailChargeAmount", getDetailChargeAmount())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
